Hi,
There are *some* system modes listed in the modes manual and main manual.
Are *all* system modes listed somewhere ?
Alan
___
If your question is of interest to others as well, please add an entry to the
Wiki
Hello,
when using modes, the names of all used modes are printed on the first
page
of the document like
[screen]
[print]
etc.
What's the purpose, and how can I get rid of this?
I could see this being useful if the disabled modes were stricken out.
Thanks,
Matthias
On Thu, Apr 2, 2009 at 6:01 PM, Gerben Wierda gerben.wie...@rna.nl wrote:
Using --mode or --modes with texexec sets up modes which can be used in the
files to parse different parts.
For that I use \doifmodeelse{}{}{}
But combining various modes in one \doiffmodeelse would be handy.
e.g
Alan Stone wrote:
Hi,
There are *some* system modes listed in the modes manual and main manual.
Are *all* system modes listed somewhere ?
The modes manual has all modes documented except for a really obscure
one (as Hans explained). There is a small error, though: *marking
should
Johan Sandblom wrote:
Hello.
Doing
texmfstart texexec
now appears to call newtexexec. However, newtexexec does not seem to
handle --mode at all. Is it coming? Should I set it up so I can call
texexec directly in order to use modes?
i ran into that as well, it does recognize the modes
For your information...
http://www.pragma-ade.com/general/manuals/mmodes.pdf
Alan
On Thu, Apr 2, 2009 at 6:28 PM, Alan Stone software.list.1e...@gmail.comwrote:
On Thu, Apr 2, 2009 at 6:01 PM, Gerben Wierda gerben.wie...@rna.nlwrote:
Using --mode or --modes with texexec sets up modes which
Am 2010-10-14 um 15:57 schrieb Hans Hagen:
(for module writers)
The latest beta gives access to modes at the lua end
Wikified (unmodified):
http://wiki.contextgarden.net/Modes#Modes_in_LuaTeX
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http
if tex.modes['specialmode'] then
context('I’m special.')
end
Best greetings,
Massi
> Hi, this should be easy:
>
> How can I access ConTeXt’s modes in Lua? Is it any different with
> language modes (*en)?
>
> e.g.
>
> \startluacode
>
> if context.modes['sp
Hi,
(1) --mode=modelist
(1.1) Is there a limit to the number of modes in modelist ?
(1.2) Is there a way to call the modelist and submit it to conditional
testing within ConTeXt ? For example, to lookup (true/false) the
presence of modes containing/starting with (an) alphannumeric
string(s
Hans Hagen wrote:
(1.2) Is there a way to call the modelist and submit it to conditional
testing within ConTeXt ? For example, to lookup (true/false) the
presence of modes containing/starting with (an) alphannumeric
string(s) ?
\doifmodeelse{somemode} { } { } etc etc etc
This presumes
Using --mode or --modes with texexec sets up modes which can be used
in the files to parse different parts.
For that I use \doifmodeelse{}{}{}
But combining various modes in one \doiffmodeelse would be handy.
e.g. (pseudocode)
if mode is workinprogress or test
or the other way around
Hi Matthias
I see there is a problem in your case. Still it is not possible to give
you a meaningful answer if there is no detailed information.
Could you provide a minimal example which is producing the mentioned
bahviour?
Willi
Matthias Weber wrote:
Hello,
when using modes, the names of all
All,
I am using the Scite editor provided by one of the Context dristributions.
Is there a way to include modes with one of the various compiling commands?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
I use the modes mechanism (\startmode, \stopmode and friends) and I am
lacking imagination as to want more.
Something like :
\startslide
\stopslide
\startnote
\stopnote
together with modes screen and handout that would either generate
only slides or print them like
A small manual on modes (i need a place to discuss system modes -)
http://www.pragma-ade.com/show-man-41.htm
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt
Never mind, the main sections system modes do the trick.
Best,
Alan
On Fri, Aug 1, 2008 at 11:42 AM, Alan Stone
[EMAIL PROTECTED]wrote:
Unless I'm mistaken, the non-documented *headertext isn't operational any
more.
Has it been replaced with something else ? If not, I'm misunderstanding its
Hello Willi,
I have just change a major projects to modes, so in producing a minimal
example
the effect takes a slightly different form:
\starttext
\disablemode[screen]
\enablemode[print]
\startmode[screen]
Screen Version
\stopmode[screen]
\startmode[print]
Print Version
\stopmode[print
Hi!
I am writing notes for my teaching and would like to do the following with
modes:
* If the file is compiled with context file.tex then everything (i.e. the
content in all modes) is typeset.
* If the file is compiled with context --mode=test1 file.tex then only mode
test1 is typeset.
I do
as we need to push/pop modes (so there is
now also \pushmode \popmode).
I have a hard time imagining a situation where push/pop modes will be
useful. It it just so that we can avoid a group?
Aditya
___
If your
Following the example in the ConTeXt Wiki (http://
wiki.contextgarden.net/Modes) I have defined an environment file that
specifies two modes (screen, print) for the production of the same
source file. This works well when the appropriate texexec commands
are given at the command line
Hi, this should be easy:
How can I access ConTeXt’s modes in Lua? Is it any different with language
modes (*en)?
e.g.
\startluacode
if context.modes['specialmode'] then
context('I’m special.')
end
\stopluacode
Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG
Alan Stone wrote:
Hi,
There are *some* system modes listed in the modes manual and main manual.
Are *all* system modes listed somewhere ?
only the official ones -)
when you uncover features in the manual that is not documented it can be
- something new, official, that should be documented
modes listed in the modes manual and main manual.
Are *all* system modes listed somewhere ?
only the official ones -)
when you uncover features in the manual that is not documented it can be
- something new, official, that should be documented
- something secret (maybe experimental
On Thu, Sep 11, 2008 at 12:52 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:
Hans Hagen wrote:
(1.2) Is there a way to call the modelist and submit it to conditional
testing within ConTeXt ? For example, to lookup (true/false) the
presence of modes containing/starting with (an) alphannumeric
Alan Bowen wrote:
Following the example in the ConTeXt Wiki (http://
wiki.contextgarden.net/Modes) I have defined an environment file that
specifies two modes (screen, print) for the production of the same
source file. This works well when the appropriate texexec commands
are given
Am 26.06.2012 um 22:12 schrieb Marcin Borkowski:
Hello,
this doesn't work for me:
\definestartstop[amode][before={\startmode[a]},
after={\stopmode}]
\starttext
All modes.
\startamode
``A'' mode.
\stopamode
\stoptext
Can I use \startmode
Hi Willi,
Hi Marcin,
How do the system modes (*...-modes) work exactly? I managed to make
\startmode[*interaction] ... \stopmode
work, but what about the others starred modes?
Most of these modes are only set part of the time. For instance,
the *sectionnumber mode is only sensible when it used
it is not possible to
give you a meaningful answer if there is no detailed information.
Could you provide a minimal example which is producing the mentioned
bahviour?
Willi
Matthias Weber wrote:
Hello,
when using modes, the names of all used modes are printed on the
first page
of the document like
[screen
On 05/31/2017 11:03 AM, MF wrote:
> if tex.modes['specialmode'] then
> context('I’m special.')
> end
>
> Best greetings,
> Massi
>
>> Hi, this should be easy:
>>
>> How can I access ConTeXt’s modes in Lua? Is it any different with
>> language m
On 5/31/2017 4:51 PM, Pablo Rodriguez wrote:
On 05/31/2017 11:03 AM, MF wrote:
if tex.modes['specialmode'] then
context('I’m special.')
end
Best greetings,
Massi
Hi, this should be easy:
How can I access ConTeXt’s modes in Lua? Is it any different with
language modes (*en
> On 27 Aug 2018, at 14:14, Mikael P. Sundqvist wrote:
>
> Hi!
>
> I am writing notes for my teaching and would like to do the following with
> modes:
>
> * If the file is compiled with context file.tex then everything (i.e. the
> content in all modes)
Hello,
How can I set a mode in a ctx-file? I would like to pass such a file to
context --ctx=file ...
If further modes are passed with --mode=..., these modes should not replace
the mode in the ctx-file, but should be added.
Cheers, Peter
--
http://pmrb.free.fr/contact
Taco Hoekwater wrote:
David Arnold wrote:
All,
Is this sort of thing ok?
texexec --mode=short,copyright,paging chapter1
I think so ...
ah, i see, the chapter 1 is not part of the modes -)
isn't that in mmodes.pdf ? must check
Hans
Hello.
Doing
texmfstart texexec
now appears to call newtexexec. However, newtexexec does not seem to
handle --mode at all. Is it coming? Should I set it up so I can call
texexec directly in order to use modes?
Regards, Johan
--
Johan Sandblom N8, MRC, Karolinska sjh
t +46851776108 17176
Hello,
this doesn't work for me:
\definestartstop[amode][before={\startmode[a]},
after={\stopmode}]
\starttext
All modes.
\startamode
``A'' mode.
\stopamode
\stoptext
Can I use \startmode with \definestartstop? Or is there a better way
to do something like
Hello,
Here is a problem with nested modes:
\starttext
no mode
\startmode[mode1]
mode1a
\startmode[mode2]
mode2
\stopmode
mode1b % this is printed, but it should not
\stopmode
no mode
\stoptext
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact
Taco Hoekwater wrote:
Hans Hagen wrote:
(1.2) Is there a way to call the modelist and submit it to conditional
testing within ConTeXt ? For example, to lookup (true/false) the
presence of modes containing/starting with (an) alphannumeric
\doifinstring
string(s) ?
\doifmodeelse{somemode
On Thu, Sep 11, 2008 at 1:37 PM, Hans Hagen [EMAIL PROTECTED] wrote:
Taco Hoekwater wrote:
Hans Hagen wrote:
(1.2) Is there a way to call the modelist and submit it to conditional
testing within ConTeXt ? For example, to lookup (true/false) the
presence of modes containing/starting
/the-book-edition-iii/>
Gerben,
\startnotallmodes is behaving as it should. Here, it is not the case
that RU and FR (all the listed modes) are set, so EN is enabled, and you
actually have both FR and EN set.
Try the following with
context —mode=FR
and make sure you understand th
On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen [EMAIL PROTECTED] wrote:
Alan Stone wrote:
Hi,
(1) --mode=modelist
(1.1) Is there a limit to the number of modes in modelist ?
no, just what the console and memory permit
(1.2) Is there a way to call the modelist and submit
Alan Stone wrote:
On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen [EMAIL PROTECTED] wrote:
Alan Stone wrote:
Hi,
(1) --mode=modelist
(1.1) Is there a limit to the number of modes in modelist ?
no, just what the console and memory permit
(1.2) Is there a way to call the modelist and submit
Alan Stone wrote:
Are such macros possible ?
modes: ma, mb, ... mz
values: va, vb, ... vz
command: cmd
parameter: p
(1) instead of
\doifmode{ma}{\cmd[name][va]}
\doifmode{mb}{\cmd[name][vb]}
\doifmode{mz}{\cmd[name][vz]}
a macro which does: \doifmode{m*}{\cmd[name][v
}{NO}
\stopproduct
I've added it but it needs checking as we need to push/pop modes (so
there is now also \pushmode \popmode).
I have a hard time imagining a situation where push/pop modes will be
useful. It it just so that we can avoid a group?
indeed and in this case, environments and such are definitely
for reading instead of rejecting everything except the current
product/component.
Yes, it only guards against loading the environment file twice. The
name is irrelevant.
In the code of core-job.tex I read:
% more or less replaced by modes
\setvalue{\e!start\v!localenvironment}[#1
}]
\starttext
All modes.
\startamode
``A'' mode.
\stopamode
\stoptext
Can I use \startmode with \definestartstop?
No you can’t.
I was afraid of this...
Or is there a better way to do something like this?
It depends on what you want to do. You can create a buffer command
Hullo,
I'm working on my thesis (and it's pf_ul styling[1]) and I tried to include
modes.
The thing is that modes seem to be set right and work when invoked in CLI
(e.g. 'context --mode=osnutek,zaslon diplomska.tex', but ConteXt seems to
completely igonore lines in text such as:
\enablemode
Am 24.10.2010 um 21:21 schrieb Matija Šuklje:
Hullo,
I'm working on my thesis (and it's pf_ul styling[1]) and I tried to include
modes.
The thing is that modes seem to be set right and work when invoked in CLI
(e.g. 'context --mode=osnutek,zaslon diplomska.tex', but ConteXt seems
Am 05.01.2011 um 20:22 schrieb Procházka Lukáš:
Hello,
I'd need to pass a variable to Ctx and to retrieve it inside a compiled
document - via Ctx itself and also by Lua. Something like modes; but modes
allow just to check whether they are on or off. I'd need something like this:
You can
do exactly front, body, back matter and appendices environments work?
How do the system modes (*...-modes) work exactly? I managed to make
\startmode[*interaction] ... \stopmode
work, but what about the others starred modes?
What are the possible parameters for the \setupoutput command?
Sorry
On Wed, 28 Nov 2018 09:20:49 +0100
Hans Hagen wrote:
> An alternative is to use system modes:
>
> \mainlanguage[nl]
>
> % \startmode[*en]
> % \setupitemize[n]
> % \stopmode
>
> % \startmode[*nl]
> % \setupitemize[a]
> % \stopmode
>
> %
On Thu, 28 Feb 2019, Procházka Lukáš Ing. wrote:
Hello,
I'm struggling with using modes to make a part of the text conditional.
Here is my code:
\def\b#1{\startmode[#1]}
\def\e{\stopmode}
% \enablemode[100] % For optional usage
\starttext
A
\b{100} % Should be start of some
On 2/28/2019 11:29 AM, Procházka Lukáš Ing. wrote:
Hello,
I'm struggling with using modes to make a part of the text conditional.
Here is my code:
\def\b#1{\startmode[#1]}
\def\e{\stopmode}
% \enablemode[100] % For optional usage
\starttext
A
\b{100} % Should be start of some
Hi,
I was curious about the possibility of handling general formatting settings
(e.g., page layout, headers and footers, page numbering, alignment, default
body font assignment, etc.) conditionally for front, body, and back matter
using modes. According to the wiki page at
https
l book that doesn't have to be heavily modified in
> order to become a physical book? I want almost no modification at all.
I think you can use modes: https://wiki.contextgarden.net/Modes.
Simply do different setups in different modes. Then choose the mode at
everything, the group internal only the public parts
and the internal ones. As far as I see, modes are not additive.
What would be the best way to structure such a document and to style
the different paragraphs, so that the different audiences see, who can
read what?
Thanks in advance,
__Janko
On 11-11-2011 16:02, Wolfgang Schuster wrote:
Hi Hans,
can you add the systemmodes for products, components etc. in MkIV because they
are missing.
\startproduct test
\doifmodeelse{*product}{YES}{NO}
\stopproduct
I've added it but it needs checking as we need to push/pop modes (so
[EMAIL PROTECTED] wrote:
All,
I am using the Scite editor provided by one of the Context dristributions.
Is there a way to include modes with one of the various compiling commands?
no, but you can
(1) temporary put \enablemode[...] at the to of the file
(2) use a separate file where you
[EMAIL PROTECTED] wrote:
All,
I am using the Scite editor provided by one of the Context dristributions.
Is there a way to include modes with one of the various compiling commands?
btw, you can make a local scite options file and add menu items (key bindings);
so you can map say ctrl-F10
On 2012-06-26, at 10:12 PM, Marcin Borkowski mb...@wmi.amu.edu.pl wrote:
Hello,
this doesn't work for me:
\definestartstop[amode][before={\startmode[a]},
after={\stopmode}]
\starttext
All modes.
\startamode
``A'' mode.
\stopamode
\stoptext
Can I use
Peter Münster wrote:
Hello,
Here is a problem with nested modes:
\starttext
no mode
\startmode[mode1]
mode1a
\startmode[mode2]
mode2
\stopmode
mode1b % this is printed, but it should not
\stopmode
no mode
\stoptext
indeed, will never work, when nested use \startlocalmode
Hello,
there are many modes for various situations
(http://wiki.contextgarden.net/Modes).
Is there a mode to signal being inside a footnote?
This would be handy for head definition:
\definehead[paragraph][subsubsubject]
\define\ShBlank{\doifnotmode{*footnote}{\blank}}
\setuphead
On 05/31/2017 04:51 PM, Pablo Rodriguez wrote:
> [...]
> This is the way to detect system modes, but I don’t know how to do it
> for \mainlanguage (**en).
It was simple (not even using tex.systemmodes):
\mainlanguage[es]
\starttext
\en\startlua
if tex.m
On Wed, 24 Jun 2020, Henning Hraban Ramm wrote:
I wanted to refer to the mmodes manual, but it’s gone.
Was it accidentally removed, or are modes now explained in some other manual? I
didn’t find it.
http://www.pragma-ade.com/general/manuals/mmodes.pdf
and my tugboat article wikified
Alan Stone wrote:
Hi,
(1) --mode=modelist
(1.1) Is there a limit to the number of modes in modelist ?
no, just what the console and memory permit
(1.2) Is there a way to call the modelist and submit it to conditional
testing within ConTeXt ? For example, to lookup (true/false
Hi Hans,
can you add the systemmodes for products, components etc. in MkIV because they
are missing.
\startproduct test
\doifmodeelse{*product}{YES}{NO}
\stopproduct
Wolfgang
___
If your question is of interest to
David Arnold wrote:
All,
Is this sort of thing ok?
texexec --mode=short,copyright,paging chapter1
I think so ...
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
latest upload (in 10 minutes)
- static graphics with mpenvironments
- fix for modes and protection
Hans
--
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt
Hi Alan,
This is simle to solve:
%\enablemode[screen]
\enablemode[print]
\envrionment yourenvironment
Important is to enable the required mode before loading the environment
file. - Dit you know that you can select multiple modes e.g. you have a
print-mode and the document should be created
to solve:
%\enablemode[screen]
\enablemode[print]
\envrionment yourenvironment
Important is to enable the required mode before loading the
environment file. - Dit you know that you can select multiple modes
e.g. you have a print-mode and the document should be created for
letter, A4 and A5. So
Many thanks, Hans. The idea of a pop-up menu for texexec does have a
peculiar charm.
Best, Alan
On Oct 17, 2005, at 4:21 AM, Hans Hagen wrote:
Alan Bowen wrote:
Following the example in the ConTeXt Wiki (http://
wiki.contextgarden.net/Modes) I have defined an environment file
On Mon, 14 Feb 2005, Randall Skelton wrote:
Is it possible to determine if texexec is being run on a product or a
component and have optional processing similar to different modes?
\ifx\currentproduct\empty
no product defined
\else
the product is \currentproduct
\fi
Cheers, Peter
--
http
Reminds me of this post:
http://archive.contextgarden.net/message/20041101.205339.1e76d98d.html
I bet that is what we all do!
David
Matthias Weber :
Hello again,
oh my, this was a stupid mistake. I added the
[screen] and [print] parameters to \stopmode.
No wonder that is what is being
Am 2018-08-27 um 16:37 schrieb Mikael P. Sundqvist :
> > On 27 Aug 2018, at 14:14, Mikael P. Sundqvist wrote:
> >
> > Hi!
> >
> > I am writing notes for my teaching and would like to do the following with
> > modes:
> >
> > * If the file is com
On Mon, Aug 27, 2018 at 3:17 PM Taco Hoekwater wrote:
>
>
> > On 27 Aug 2018, at 14:14, Mikael P. Sundqvist wrote:
> >
> > Hi!
> >
> > I am writing notes for my teaching and would like to do the following
> with modes:
> >
> > * If the file is
> Am 17.11.2021 um 04:06 schrieb Idris Samawi Hamid ادريس سماوي حامد via
> ntg-context <ntg-context@ntg.nl>:
>
> Unfortunately - as pointed out on the wiki - modes cannot be nested.
Why would you need that?
You know about \startnotmode and that you can use lists of
On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote:
> Dear gang,
>
> For creating/authoring content in ConTeXt: Can modes or the like be used
> for content control? For example, someone wants to write at least two
> versions of a book managed fro
حامد via ntg-context
wrote:
Dear gang,
For creating/authoring content in ConTeXt: Can modes or the like be used
for content control? For example, someone wants to write at least two
versions of a book managed from a single file. So, e.g., we may have
a) abridged content
b) unabridged content
> > wrote:
> >
> > > Dear gang,
> > >
> > > For creating/authoring content in ConTeXt: Can modes or the like be used
> > > for content control? For example, someone wants to write at least two
> > > versions of a book managed from a sin
f Enterprise Architecture
>> <https://ea.rna.nl/the-book/>
>> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
>>
> Gerben,
>
> \startnotallmodes is behaving as it should. Here, it is not the case that RU
> and FR (all the listed m
efined modes (that is, set with: \enablemode, \disablemode or
\definemode) can be tested about twice as fast as undefined modes which can
make a small difference
I do not understand this fully:
- if the mode is undefined, how can "define an undefined mode" for a mode that has
already be
Hello,
I'm making progress in using modes - thanks again for the help so far
that was given in the switching to Context thread.
I have followed Thomas Schmitz' practex article and have set up modes
for presentation and manuscript. I am using external figures on most
of the slides
2007/11/29, Roger Mason [EMAIL PROTECTED]:
Hello,
I'm making progress in using modes - thanks again for the help so far
that was given in the switching to Context thread.
I have followed Thomas Schmitz' practex article and have set up modes
for presentation and manuscript. I am using
group should see everything, the group internal only the public parts
and the internal ones. As far as I see, modes are not additive.
What would be the best way to structure such a document and to style
the different paragraphs, so that the different audiences see, who can
read what
Peter Münster wrote:
Hello,
How can I set a mode in a ctx-file? I would like to pass such a file to
context --ctx=file ...
If further modes are passed with --mode=..., these modes should not replace
the mode in the ctx-file, but should be added.
?xml version='1.0' standalone='yes
Are such macros possible ?
modes: ma, mb, ... mz
values: va, vb, ... vz
command: cmd
parameter: p
(1) instead of
\doifmode{ma}{\cmd[name][va]}
\doifmode{mb}{\cmd[name][vb]}
...
\doifmode{mz}{\cmd[name][vz]}
a macro which does: \doifmode{m*}{\cmd[name][v*]}
(2) instead of
\doifmode{ma}{\cmd[p
On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen [EMAIL PROTECTED] wrote:
Alan Stone wrote:
(2.2) How does ConTeXt handle a modefile ? Are the modes parsed into a
modelist ( re: question 1.2 ) ?
best use ctx files instead, like in
== somefile.ctx ===
?xml version='1.0' standalone='yes
Alan Stone wrote:
On Thu, Sep 11, 2008 at 12:46 PM, Hans Hagen [EMAIL PROTECTED] wrote:
Alan Stone wrote:
(2.2) How does ConTeXt handle a modefile ? Are the modes parsed into a
modelist ( re: question 1.2 ) ?
best use ctx files instead, like in
== somefile.ctx ===
?xml version='1.0
Hi,
I worked with t-vim a bit more and encountered a small problem with the
way vim handles syntax definitions. Some of them have several modes that
get activated by setting a variable first. For example the syntax sh
(shell scripts) can be enhanced for bash, ksh, etc.
Example:
let
dristributions.
Is there a way to include modes with one of the various compiling commands?
no, but you can
(1) temporary put \enablemode[...] at the to of the file
(2) use a separate file where you set the mode, and load the file
Hans
)
Hans Hagen [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
All,
I am using the Scite editor provided by one of the Context dristributions.
Is there a way to include modes with one of the various compiling commands?
no, but you can
(1) temporary put
- options
All right. I've just seen, that texexec --modes=xxx --mode=yyy works as I
want. Can I rely on it for the future?
Imagine a command (an alias) my-texexec = texexec --mode=xxx that is used
for example like this:
my-texexec --mode=yyy file
Then, the mode=xxx gets overwritten
Hans,
Sorry about taking a long time to get back to you.
I checked the syntax of the ConTeXt mode files. They seem to be
consistent with the syntax in modes that are known to work. The
delegate syntax doesn't seem to have changed. I don't recieve XML
validation errors for any other parts
).
mode processing is based on modes that are in effect
at the execution time of the \startmode macro, not
the typeset time. This would work:
\enablemode[swiss]
\startencoding[ec]
\startmode[swiss]
\definecharacter ssharp {ss}
\stopmode
\stopencoding
modes.
\startamode
“A” mode.
\stopamode
\stoptext
Thanks, it worked. One question: is there any difference between
\def\starta{...}
\def\stopa{...}
and
\definestartstop[a][before={...},after={…}]
Yes because in my definition for \startamode I start a buffer which reads
Hello ConTeXist.
I would like use modes alternative to change of image dimensions in
different documents (presentation or print version).
Compilation in ConTeXt TeXLive 2012 version will compile without error,
but without visual effect. Compilation with the standalone version
fails. What
Hi,
How do you write the
TeXExec | processing document ...
TeXExec | loading ctx file ...
TeXExec | using flags texengine=... interface=... result=...
TeXExec | using modes ...
TeXExec | outputfile ...
TeXExec | tex processing method: ...
TeXExec | TeX run ...
TeXExec | writing option file
Hello,
Kevin D. Robbins krobb...@alumni.princeton.edu writes:
Thanks for the suggestions Wolfgang and Luigi. I've now got several
good options to research.
Kevin
I use 3 modes for teaching:
manuscript -- notes that go on-line for students to download
presentation -- pictures
From: Hans Hagen
\doifelse{stringa}{stringb}{...}{...}
From: Aditya Mahajan
For what you want, modes should be sufficient. If for
something else you really want to do string comparisons,
ConTeXt provides a bunch of \doifelse commands
http://wiki.contextgarden.net/System_Macros
Hi,
(for module writers)
The latest beta gives access to modes at the lua end
\starttext
\enablemode[test]
\enablemode[]
\doifallmodes{test,xxx}{NO}
\doifallmodes{test,}{YES}
\doifmode{test}{YES}
\doifnotmode{xxx}{YES}
\startluacode
tex.sprint(tex.modes['x']and YES or NOP
On 17-10-2010 8:54, Aditya Mahajan wrote:
Maybe Hans forgot it for mkii but it doesn’t matter whether mkii/mkiv
is a normal mode or a system mode.
IIRC, system modes cannot be reset using \(enable|disable)mode.
there is nothing special about system modes: they just have a * in front
so you
1 - 100 of 647 matches
Mail list logo